Skip to content

Comments

Add missing rule descriptions to README#303

Merged
ondrejmirtes merged 1 commit into2.0.xfrom
readme-add-missing-rule-descriptions
Feb 19, 2026
Merged

Add missing rule descriptions to README#303
ondrejmirtes merged 1 commit into2.0.xfrom
readme-add-missing-rule-descriptions

Conversation

@phpstan-bot
Copy link

Summary

  • Added descriptions for 4 rules that were present in src/ and rules.neon but missing from the README features table: uselessCast, disallowedImplicitArrayCreation, strictArrayFilter, and illegalConstructorMethodCall.
  • Expanded the numericOperandsInArithmeticOperators description to include the binary arithmetic operators (+, -, *, /, %, **) which were omitted — the old description only mentioned unary and increment/decrement operators.

Test plan

  • Verified all rules in src/Rules/ are now represented in the features table
  • Cross-checked parameter names against rules.neon
  • Descriptions match actual rule behavior from source code

🤖 Generated with Claude Code

The features table was missing descriptions for four rules that are
implemented in src/ and registered in rules.neon: uselessCast,
disallowedImplicitArrayCreation, strictArrayFilter, and
illegalConstructorMethodCall. Also expanded the
numericOperandsInArithmeticOperators description to include
binary arithmetic operators (+, -, *, /, %, **) which were omitted.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@ondrejmirtes ondrejmirtes merged commit 3b3c435 into 2.0.x Feb 19, 2026
36 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants